package com.springsummer.information.green.webmvc.controllers;



import com.springsummer.information.green.annotation.Autowired;
import com.springsummer.information.green.annotation.Service;

import java.util.List;

@Service
public class HelloEmpsService {

    @Autowired
    private HelloEmpsRepository helloEmpsRepository;

    public List<EmpsVo> queryEmps(String name, Integer age, String phone) {
        System.out.println("HelloEmpsService queryEmps name:"+name);
        return helloEmpsRepository.queryEmps();
    }

}
